﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PH.Model.Schools;
using PH.Data.Schools;
namespace PH.Logic.Schools
{
    public class TeacherLogic
    {
        public static TeacherModel CreateNewTeacher(TeacherModel model)
        {
            return TeacherCommand.CreateNewTeacher(model);
        }

        public static void UpdateTeacher(TeacherModel model)
        {
            TeacherCommand.UpdateTeacher(model);
        }

        public static TeacherModel GetTeacher(Guid guid)
        {
            return TeacherCommand.GetTeacher(guid);
        }

        public static TeacherCollection GetTeachers(TeacherQuery sea)
        {
            return TeacherCommand.GetStudents(sea);
        }

        public static void DeleteTeacher(Guid guid)
        {
            TeacherCommand.DeleteTeacher(guid);
        }
    }
}
